package org.aeon.message.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.aeon.entity.User;
import org.aeon.message.Message;

import java.io.Serial;

/**
 * @author: MissingAeon
 * @date: 2024/1/27 11:42
 * @description:
 */
@Getter
@Setter
@ToString
public class RegisterRequestMessage extends Message {
    @Serial
    private static final long serialVersionUID = 6500988078880918538L;
    private User user;

    public RegisterRequestMessage(User user) {
        this.user = user;
    }

    @Override
    public int getMessageType() {
        return RegisterRequestMessage;
    }
}
